package com.hxzy.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/12/12 15:03
 * @Version 1.0
 */
@SpringBootApplication(scanBasePackages = {"com.hxzy.*"})
@EnableDiscoveryClient
/**
 * 开启openfeign框架调用
 */
@EnableFeignClients(basePackages = {"com.hxzy.*"})
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
